//package com.example.kotlinExample.config
//
//import org.springframework.context.annotation.Configuration
//import org.springframework.security.config.annotation.web.builders.HttpSecurity
//import org.springframework.security.config.annotation.web.configuration.EnableWebSecurity
//import org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter
//
///**
// *
// *
// * @author liliang
// */
////@Configuration
////@EnableWebSecurity
//class SpringSecurityConfig : WebSecurityConfigurerAdapter() {
//
//    override fun configure(http: HttpSecurity) {
//        http.formLogin()
//                .and()
//                .authorizeRequests()
//                .antMatchers("/index", "/").permitAll()
//                .anyRequest().authenticated()
//    }
//
//}